package com.umeng.analytics.pro;

import android.content.Context;
import android.telephony.TelephonyManager;

public class ae extends y {
    private static final String a = "imei";
    private Context b;

    public ae(Context arg2) {
        super("imei");
        this.b = arg2;
    }

    public String f() {
        Object v0 = this.b.getSystemService("phone");
        String v1 = null;
        try {
            if(!bv.a(this.b, "android.permission.READ_PHONE_STATE")) {
                return v1;
            }

            String v0_2 = ((TelephonyManager)v0).getDeviceId();
            return v0_2;
        }
        catch(Exception v0_1) {
        }

        return v1;
    }
}

